package com.mallcloud.mall.product.mapper;

import com.mallcloud.mall.common.data.datascope.MallBaseMapper;
import com.mallcloud.mall.product.api.dto.SpuTagDTO;
import com.mallcloud.mall.product.api.entity.SpuTagReferenceModel;
import com.mallcloud.mall.product.api.vo.SpuTagReferenceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品分组标签关联信息
 */
@Mapper
public interface SpuTagReferenceMapper extends MallBaseMapper<SpuTagReferenceModel> {

    List<SpuTagReferenceVO> referenceSpu(@Param("query") SpuTagDTO dto);

}
